
#include "../../include/ServiceModuleTemplate.h"


DECLARE_SERVICE_MODULE;

class GenSvcProxy:public SAF::IServiceModule
{
public:	
	virtual bool Init(SAF::IKernel*, SAF::IConfig*);	
	virtual void Release();
	virtual void Process(SAF::IConnection *, const SAF::NetPackage&);
//	virtual bool OnException(SAF::IConnection * const, void *&);
//	virtual void OnConnectionNodeFI(SAF::IConnection * const, void *&);
//	virtual void OnConnectionNodeFO(SAF::IConnection * const, void *&);
//	virtual void OnConnectionNodeBI(SAF::IConnection * const, void *&);
//	virtual void OnConnectionNodeBO(SAF::IConnection * const, void *&);
	virtual void OnConnectionIncoming(SAF::IConnection *, void *&);
	virtual void OnConnectionOutgoing(SAF::IConnection *, void *&);
private:
	SAF::IMessageRouter *	m_clientDevice;
	SAF::IMessageRouter *	m_serverDevice;
	
};
